<?php
class ModelModuleSupport extends Model
{
	public function getSupport()
	{
		$query=$this->db->query("SELECT * FROM ".DB_PREFIX."online o LEFT JOIN ".DB_PREFIX."online_description od ON (o.online_id=od.online_id) WHERE od.language_id='".(int)$this->config->get('config_language_id')."' AND o.status=1 ORDER BY o.sort_order ASC");
		return $query->rows;
	}
}
?>